


#include<"ErrorAbout.h">

//test use
///lexey errors

void init()
{
	ErrorLog.add(FILEERROR,"open file %0 error");
	ErrorLog.add(LACK,"lack token %0 before %1");
	ErrorLog.add();
}

void process()
{
	Error err= new Error(LACK,arry);
	errormanager.add(err);
	
}



public void ErrorManager::printErrors()
{
	vector<string>::iterator it =m_errors.begin();
	for(;it!=m_errors.end();++it)
	{
		cout<<it->getDetail()<<endl;
	}
}